Conversation
|
@nrps9909 is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. Walkthrough调整溢出菜单键盘导航在未找到当前选中项时的索引处理。新增测试,验证依次按向下键和向上键后选中最后一个启用标签。 Changes溢出菜单键盘导航
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The overflow menu now wraps to the last enabled tab on the first ArrowUp press, while ArrowDown retains its first-item behavior. No material merge risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 兔子按下向下键, Comment |
50af9a7 to
8d552e0
Compare
|
Resolved the conflict on current master Base with the regression fails once ( |
When the overflow menu opens with no selected key,
findIndexreturns -1. The first ArrowUp then targets the second-to-last enabled tab instead of wrapping to the last. This fix normalizes that initial index for upward navigation while preserving first ArrowDown behavior and skipping disabled tabs.The regression opens the overflow menu and presses ArrowUp against a sequence containing a disabled tab. It expects the last enabled tab (
miu). The patch is based on current master822d74dd7c706777b1dcd47eacdf1f1be555e57eand preserves the new dropdown open API, renderable guards and scroll-position support.Local validation on Node 26.10.0 / pnpm 11.21.0 / React 19.3.0 / TypeScript 6.0.3:
cuteinstead ofmiu), 111 passes / 3 snapshots.8d552e0503adf33651e352a8873a04a94def1071: all 6 suites / 112 tests / 3 snapshots pass.The final diff is limited to the original two files (34 insertions, 1 deletion). These local results are separate from upstream CI and maintainer review; the PR remains open.
AI assistance disclosure: Codex helped reconcile the upstream overflow-test changes, reproduce the base failure, validate the fixed branch and prepare this report. The diff and test results were checked directly.
Summary by CodeRabbit
Bug 修复
测试